package com.black.app.domain.resp.exercise;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * 首页练习表响应对象
 */
@Getter
@Setter
@ApiModel(value = "首页练习表响应对象")
public class AppExerciseTreeResp {

    @ApiModelProperty(value = "类型id")
    private Long id;

    /**
     * 类型名称
     */
    @ApiModelProperty(value = "类型名称")
    private String name;

    /**
     * 组件类型(1大图，2两张图，3多小图)
     */
    @ApiModelProperty(value = "组件类型(1大图，2两张图，3多小图)")
    private Integer componentType;

    @ApiModelProperty(value = "排序")
    private Integer orderNum;

    /**
     * 子节点
     */
    @ApiModelProperty(value = "子节点")
    private List<? extends AppExerciseSuper> children;


    @ApiModelProperty(value = "有没有更多系列")
    private Boolean hasMore=false;
}
